<%@page contentType="text/html;charset=UTF-8"%>
<!--[if lt IE 9]>
<script src='${ctx}/assets/html5shiv/3.7.3/html5shiv.js' type='text/javascript'></script>
<script src='${ctx}/assets/respond/1.4.2/respond.src.js' type='text/javascript'></script>
<script>
if (!Array.prototype.indexOf)
{
  Array.prototype.indexOf = function(elt /*, from*/)
  {
    var len = this.length >>> 0;
    var from = Number(arguments[1]) || 0;
    from = (from < 0)
         ? Math.ceil(from)
         : Math.floor(from);
    if (from < 0)
      from += len;
    for (; from < len; from++)
    {
      if (from in this &&
          this[from] === elt)
        return from;
    }
    return -1;
  };
}
if (!String.prototype.trim)
{
	String.prototype.trim = function ()  
	{  
	    return this.replace(/(^\s*)|(\s*$)/g, "");  
	} 
}

</script>
<![endif]-->
<script src='${ctx}/assets/jquery/1.11.3/jquery-1.11.3.js' type='text/javascript'></script>
<script src='${ctx}/assets/jquery/jquery.blockui.min.js' type='text/javascript'></script>
<script src='${ctx}/assets/bootstrap/3.3.5/js/bootstrap.js' type='text/javascript'></script>
<script src='${ctx}/assets/jstree/dist/jstree.js' type='text/javascript'></script>
<script src='${ctx}/assets/jquery-ui-1.11.4.pqgrid/jquery-ui.js' type='text/javascript'></script>
<script src='${ctx}/assets/grid-2.3.0/pqgrid.dev.js' type='text/javascript'></script>
<script src='${ctx}/assets/jedate-6.5.0/src/jedate.js' type='text/javascript'></script>
<script src='${ctx}/assets/assets_all.js' type='text/javascript'></script>


<!--[if (gte IE 8)&(lt IE 10)]>
<script src="${ctx}/assets/jquery-file-upload/js/cors/jquery.xdr-transport.js"></script>
<![endif]-->

<script src='${ctx}/ibizsys/ibizsys_all.js?v=20170608' type='text/javascript'></script>
<script src='${ctx}/ibizsys/widget/IBizOfficeField2.js?v=20161017' type='text/javascript'></script>
<c:choose>
<c:when test="${locale!= null && locale!= ''}">
<script src='${ctx}/ibizsys/i18n/${locale}.js?v=20170608' type='text/javascript'></script>
<script src='${ctx}/js/i18n/${locale}.js?v=20170608' type='text/javascript'></script>
<script src='${ctx}/assets/jquery-datatables/js/jquery.dataTables_${locale}.js' type='text/javascript'></script>
<script src='${ctx}/assets/grid-2.3.0/localize/pq-localize-${locale}.js' type='text/javascript'></script>
</c:when>
<c:otherwise> 
<script src='${ctx}/ibizsys/i18n/zh_cn.js?v=20170608' type='text/javascript'></script>
<script src='${ctx}/assets/jquery-datatables/js/jquery.dataTables_zh_cn.js' type='text/javascript'></script>
<script src='${ctx}/assets/grid-2.3.0/localize/pq-localize-zh_cn.js' type='text/javascript'></script>
</c:otherwise>
</c:choose>
<script>
var locale = 'zh_cn';
<c:choose>
<c:when test="${locale!= null && locale!= ''}">
	moment.locale('${locale}');
	locale = '${locale}';
</c:when>
<c:otherwise> 
    moment.locale('zh_cn');
</c:otherwise>
</c:choose>
	var BASEURL = '${ctx}';
	var WEBROOTURL = '${web}';
	var IBizApp_Data = null;
</script>
<script src="${ctx}/ibizsys/widget/IBizDataGrid4.js"></script>
<script src="${ctx}/ibizsys/widget/IBizDataGrid4Editor.js"></script>